package com.example.demo.business.dao;

import com.example.demo.business.bean.entity.HCollection;
import org.springframework.data.repository.CrudRepository;

import java.util.List;

public interface HCollectionDao extends CrudRepository<HCollection,Integer> {
    HCollection findByTypeAndMidAndUid(int type,int mid,int uid);
    List<HCollection> findByTypeAndUid(int type,int uid);
    HCollection findByIdAndUid(int id,int uid);

}
